
import { Affix } from 'antd'
import './index.less'
 const DetailPage = ({ children, action }: any) => {
    return  <div className='detail-page-container'>
        <div className='detail-page-body'>

            {children}
        </div>
        <Affix offsetBottom={-90}>
        <div className="action-container">
            {action}
        </div>
        </Affix>
    </div>
}
export default DetailPage